package com.data.modules.apilog.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.data.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 请求三方api日志
 * @Author: data-boot
 * @Date:   2022-01-07
 * @Version: V1.0
 */
@Data
@TableName("hl_api_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hl_api_log对象", description="请求三方api日志")
public class HlApiLog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**验证的类型*/
	@Excel(name = "验证的类型", width = 15, dicCode = "api_types")
	@Dict(dicCode = "api_types")
    @ApiModelProperty(value = "验证的类型")
    private java.lang.Integer types;
	/**入参*/
	@Excel(name = "入参", width = 15)
    @ApiModelProperty(value = "入参")
    private java.lang.String requestParams;
	/**返回结果*/
	@Excel(name = "返回结果", width = 15)
    @ApiModelProperty(value = "返回结果")
    private java.lang.String responseMsg;
	/**业务码*/
	@Excel(name = "业务码", width = 15, dicCode = "api_code_status")
	@Dict(dicCode = "api_code_status")
    @ApiModelProperty(value = "业务码")
    private java.lang.Integer bizCode;
	/**业务信息*/
	@Excel(name = "业务信息", width = 15)
    @ApiModelProperty(value = "业务信息")
    private java.lang.String bizMsg;
	/**业务关键值1*/
	@Excel(name = "业务关键值1", width = 15)
    @ApiModelProperty(value = "业务关键值1")
    private java.lang.String keyExt1;
	/**业务关键值2*/
	@Excel(name = "业务关键值2", width = 15)
    @ApiModelProperty(value = "业务关键值2")
    private java.lang.String keyExt2;
	/**业务关键值3*/
	@Excel(name = "业务关键值3", width = 15)
    @ApiModelProperty(value = "业务关键值3")
    private java.lang.String keyExt3;
}
